home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1238 < prev    next >
Encoding:
Text File  |  1996-08-06  |  818 b   |  32 lines

  1. Path: news.primenet.com!not-for-mail
  2. From: hallem@primenet.com (Robert Hallem)
  3. Newsgroups: comp.lang.c++
  4. Subject: codeguard troubles???
  5. Date: 9 Jan 1996 18:24:01 -0700
  6. Organization: Primenet
  7. Sender: root@primenet.com
  8. Message-ID: <4cv4fh$o8k@nnrp1.news.primenet.com>
  9. Reply-To: hallem@primenet.com
  10. X-Posted-By: ip9-002.lax.primenet.com
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. I have been running this simple piece of c++ code under Borland C++
  14. 4.51 with codeguard enabled.  After I finish running the code and
  15. close the window (it is an EasyWin application) codeguard gives me a
  16. function violation error from lseek.  This is simple Borland string
  17. manipulation, I need help.
  18.  
  19. #include "cstring.h"
  20. #include <iostream.h>
  21.  
  22. int main()
  23. {
  24.   string pathtopurge;
  25.   cin >> pathtopurge;
  26.  
  27.   return 0;
  28. }
  29.  
  30. thanks, hallem@primenet.com
  31.  
  32.